package com.wbhz.entity;

import java.util.Date;

public class Reply {
	private int replyId;// int not null primary key AUTO_INCREMENT,
	private int replyPostId;// int not null,
	private int replyPostUserId;// int not null, -- 发帖人
	private int replyFromReplyUserId;// int not null, -- 回复人
	private int replyByReplyUserId;// int not null, -- 被回复人
	private int replyLike;// int DEFAULT 0,
	private String replyContent;// VARCHAR(255) not null,
	private String replyStatus;// enum('普通回帖', '最佳答案') default'普通回帖',
	private Date replyCreateTime;// date
	public int getReplyId() {
		return replyId;
	}
	public void setReplyId(int replyId) {
		this.replyId = replyId;
	}
	public int getReplyPostId() {
		return replyPostId;
	}
	public void setReplyPostId(int replyPostId) {
		this.replyPostId = replyPostId;
	}
	public int getReplyPostUserId() {
		return replyPostUserId;
	}
	public void setReplyPostUserId(int replyPostUserId) {
		this.replyPostUserId = replyPostUserId;
	}
	public int getReplyFromReplyUserId() {
		return replyFromReplyUserId;
	}
	public void setReplyFromReplyUserId(int replyFromReplyUserId) {
		this.replyFromReplyUserId = replyFromReplyUserId;
	}
	public int getReplyByReplyUserId() {
		return replyByReplyUserId;
	}
	public void setReplyByReplyUserId(int replyByReplyUserId) {
		this.replyByReplyUserId = replyByReplyUserId;
	}
	public int getReplyLike() {
		return replyLike;
	}
	public void setReplyLike(int replyLike) {
		this.replyLike = replyLike;
	}
	public String getReplyContent() {
		return replyContent;
	}
	public void setReplyContent(String replyContent) {
		this.replyContent = replyContent;
	}
	public String getReplyStatus() {
		return replyStatus;
	}
	public void setReplyStatus(String replyStatus) {
		this.replyStatus = replyStatus;
	}
	public Date getReplyCreateTime() {
		return replyCreateTime;
	}
	public void setReplyCreateTime(Date replyCreateTime) {
		this.replyCreateTime = replyCreateTime;
	}
	@Override
	public String toString() {
		return "Reply [replyId=" + replyId + ", replyPostId=" + replyPostId + ", replyPostUserId=" + replyPostUserId
				+ ", replyFromReplyUserId=" + replyFromReplyUserId + ", replyByReplyUserId=" + replyByReplyUserId
				+ ", replyLike=" + replyLike + ", replyContent=" + replyContent + ", replyStatus=" + replyStatus
				+ ", replyCreateTime=" + replyCreateTime + "]";
	}
	public Reply(int replyId, int replyPostId, int replyPostUserId, int replyFromReplyUserId, int replyByReplyUserId,
			int replyLike, String replyContent, String replyStatus, Date replyCreateTime) {
		super();
		this.replyId = replyId;
		this.replyPostId = replyPostId;
		this.replyPostUserId = replyPostUserId;
		this.replyFromReplyUserId = replyFromReplyUserId;
		this.replyByReplyUserId = replyByReplyUserId;
		this.replyLike = replyLike;
		this.replyContent = replyContent;
		this.replyStatus = replyStatus;
		this.replyCreateTime = replyCreateTime;
	}
	public Reply() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
